<admintpl file="header" />
  <style>
	  .yangshi{
		  width: 80px;
	  }
	  .tijiao{
		  width: 120px;height: 35px; vertical-align:middle;
		  margin-left: 40%;
		  background: red;
		  color: white;
		  border: none;
		  border-radius: 3px;
		  text-align: center;

	  }

  </style>
</head>
<body>
<div class="wrap">
	<ul class="nav nav-tabs">
		<li class=""><a href="{:U('Odds/k3')}">快3赔率</a></li>
		<li class=""><a href="{:U('Odds/fc3d')}">福彩3D奖金</a></li>
		<li class=""><a href="{:U('Odds/kl8')}">快乐8奖金</a></li>
		<li class="active"><a href="{:U('Odds/pk10')}">PK10奖金</a></li>
		<li class=""><a href="{:U('Odds/pl3')}">排列3奖金</a></li>
		<li class=""><a href="{:U('Odds/ssc')}">时时彩奖金</a></li>
		<li class=""><a href="{:U('Odds/syx5')}">11选5奖金</a></li>
	</ul>
   <form class="form" method="post" action="{:U('Odds/pk10')}">
	   <span>定位胆-标准奖金：<input type="text" name="dwd" class="yangshi dwd" value="{$arr.dwd}"></span>
	   <span style="margin-left: 100px">前五-复式奖金：<input type="text" name="q5fs" class="yangshi q5fs" value="{$arr.q5fs}"></span>
	   <span style="margin-left: 100px">前五-单式奖金：<input type="text" name="q5ds" class="yangshi q5ds" value="{$arr.q5ds}"></span><br/>
	   <span style="margin-left: 15px">前四-复式奖金：<input type="text" name="q4fs" class="yangshi q4fs" value="{$arr.q4fs}"></span>
	   <span style="margin-left: 100px">前四-单式奖金：<input type="text" name="q4ds" class="yangshi q4ds" value="{$arr.q4ds}"></span>
	   <span style="margin-left: 100px">前三-复式奖金：<input type="text" name="q3fs" class="yangshi q3fs" value="{$arr.q3fs}"></span><br/>
	   <span style="margin-left: 15px">前三-单式奖金：<input type="text" name="q3ds" class="yangshi q3ds" value="{$arr.q3ds}"></span>
	   <span style="margin-left: 100px">前二-复式奖金：<input type="text" name="q2fs" class="yangshi q2fs" value="{$arr.q2fs}"></span>
	   <span style="margin-left: 100px">前二-单式奖金：<input type="text" name="q2ds" class="yangshi q2ds" value="{$arr.q2ds}"></span><br/>
	   <span style="margin-left: 15px">前一-复式奖金：<input type="text" name="q1fs" class="yangshi q1fs" value="{$arr.q1fs}"></span>
	    <br/><br/><br/><br/>

	   <button type="button"   class="tijiao" onclick="sav()" >保存</button>

   </form>
<div class="c-tan-shadow"></div>
<script src="__PUBLIC__/js/common.js"></script>
</div>
</body>
</html>

<script>
	function sav(){
		var dwd = $(".dwd").val();
		var q5fs = $(".q5fs").val();
		var q5ds = $(".q5ds").val();
		var q4fs = $(".q4fs").val();
		var q4ds = $(".q4ds").val();
		var q3fs = $(".q3fs").val();
		var q3ds = $(".q3ds").val();
		var q2fs = $(".q2fs").val();
		var q2ds = $(".q2ds").val();
		var q1fs = $(".q1fs").val();


		if(dwd == ""){
			alert("定位胆-标准的奖金不能为空");
			return false;
		}
		if(q5fs == ""){
			alert("前五-复式的奖金不能为空");
			return false;
		}
		if(q5ds == ""){
			alert("前五-单式的奖金不能为空");
			return false;
		}
		if(q4fs == ""){
			alert("前四-复式的奖金不能为空");
			return false;
		}
		if(q4ds == ""){
			alert("前四-单式的奖金不能为空");
			return false;
		}
		if(q3fs == ""){
			alert("前三-复式的奖金不能为空");
			return false;
		}
		if(q3ds == ""){
			alert("前三-单式的奖金不能为空");
			return false;
		}
		if(q2fs == ""){
			alert("前二-复式的奖金不能为空");
			return false;
		}
		if(q2ds == ""){
			alert("前二-单式的奖金不能为空");
			return false;
		}
		if(q1fs == ""){
			alert("前一-复式的奖金不能为空");
			return false;
		}

     $(".form").submit();
	}
</script>